projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a1a0bd
)
Fixed warning catch in gtk_window_compute_hints().
author
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Sun, 3 Apr 2011 09:09:22 +0000
(18:09 +0900)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Sun, 3 Apr 2011 09:10:27 +0000
(18:10 +0900)
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 16e5fb0d7785a605aee932ccc93590b11c418141..fb957617c7a1569912de1fef1467eb68377ff3a8 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-7168,7
+7168,7
@@
gtk_window_compute_hints (GtkWindow *window,
extra_width = requisition.width - TEMPORARY_SIZE;
extra_height = requisition.height - TEMPORARY_SIZE;
- if (extra_width < 0 || extra_
width
< 0)
+ if (extra_width < 0 || extra_
height
< 0)
{
g_warning("Toplevel size doesn't seem to directly depend on the "
"size of the geometry widget from gtk_window_set_geometry_hints(). "